package com.xykj.enterprise.wechat.event.service;

import com.xykj.enterprise.wechat.bean.ext.externalcontact.ExternalContactVo;
import com.xykj.enterprise.wechat.bean.ext.externalcontact.GetExternalContactBatchVo;

/**
 * @Author zhouxu
 * @create 2021-04-08 09:55
 */
public interface CustomerService {

    /**
     * 批量同步客户
     *
     * @param batchVo
     * @param corpid
     */
    void syncCustomerList(GetExternalContactBatchVo batchVo, String corpid, String userid);

    /**
     * 同步客户详情--单个
     *
     * @param vo
     */
    void save(String corpid, ExternalContactVo vo);

    /**
     * 删除客户
     * 1.删除客户
     * 2.删除跟进
     *
     * @param corpid
     * @param externalUserid
     */
    void delete(String corpid, String externalUserid);

    void deleteFollowUser(String corpid,String externalUserid,String userid);

}
